package com.appkubes.portal.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.portal.core.dao.BasePortalAppRolePermissionDao;
import com.appkubes.portal.core.entity.PortalAppRolePermission;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

public interface BasePortalAppRolePermissionService extends AbstractBaseService<BasePortalAppRolePermissionDao, PortalAppRolePermission> {

    PortalAppRolePermission getOneByEntity(PortalAppRolePermission entity);

    List<PortalAppRolePermission> selectListByEntity(PortalAppRolePermission entity);

    IPage<PortalAppRolePermission> selectPageByEntity(IPage<PortalAppRolePermission> page);
    IPage<PortalAppRolePermission> selectPageByEntity(PageVO pageVO);

    IPage<PortalAppRolePermission> selectPageByEntity(PortalAppRolePermission entity, IPage<PortalAppRolePermission> page);
    IPage<PortalAppRolePermission> selectPageByEntity(PortalAppRolePermission entity, PageVO pageVO);

    IPage<PortalAppRolePermission> selectPageByEntity(PortalAppRolePermission entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(PortalAppRolePermission entity);
}
